package com.chixing.ih.config;

/**
 * 目的:
 *
 * @author ：zcw
 * @version: 1.0  2020/10/13 14:19
 */

import lombok.Getter;
import org.springframework.context.annotation.Configuration;

@Configuration
@Getter
public class AlipayConfig {

    /**
     * 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
     */
    private String appId = "2016102600761382";

    /**
     * 商户私钥，您的PKCS8格式RSA2私钥
     */
    private String privateKey =
            "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCbKDmZAlx3MHjmn8w4koZb79QVW0r1ThrjPaQ6KeOuYmJH8Gb88L7RQxQ3IAK7oKEK4ZWkSXBmG4yl9LSAgByK2D2LgUvgzfP5e/fW/oDPfTb3Kd6xxRNhEKX1UZn7CJ0iAHhqv++ctLe/5V89Dsr9LpvXHpP01K/riYdoonJevX8v50AGo6SqK03kPbtdo96DbTxI7hQS7y5fl/ugO2JEu9FpKSg9O5m/tBE/UlA6b95McRDuP1TccCti1gJrmDITgv9o8IX8I2L2NZ0x5lY/DNcNiQW9nkjjqi2W8TYZAiAJjR/YXR7+tlJh5T13GS4g8281EXroT9sVnNflLBq5AgMBAAECggEAbwZpsMOvxto4qU7Po+u1mTQUXvPkv4QUWWdSjQxMkAx2p2OvTnA3GycU4B1X10sp8c9adSTX+TjdfCOOxiTmR7RU1e6/jS3S10OOJZoYMmE3Y8XiRPLw2xQ+rTynIqsXRa1wfXK60ze+BOLtM5PSTTl86oJG/Xr0J2dSLd2QWZm/s9QKbSf7JbT50HmCBFGbQI96LxmkLF14389cMeThcYbJp05i+m8Hco7wPPrboDE2KIeEDUJiGJPOk1794RGiZkIwKm+dnaRD18ndRy59wcYaBWGrX/vSfIzSzXF/DoCQBq1DVJw3hVOWC99KB+xytOSQmlZWeREX0VozY0gLAQKBgQDl7Hz8t8kwJAY0+SP7k4oJE+F6iely8eqqDcOZ0KsSx9RyPgakD4VL1djniQY1Bv2xexDWxDuA6rosvL2mbl0W23Bq6T/OcaNVv1wYela4F9TUmxKC2KpsoC+7FGoUnUqa2/HV3DlZru79JNIVqwMRqJgOr97CMP0Kfcx6VAVARQKBgQCswP4kjpmaGAF23mr2vVREnEs9V9iXUFkfdEjrGxvdeKqbnqUJaiRYYspKZn5H8nsMn23IrjdGpunsnfxQzx3qQ6n/EyAIyMPSMUW1L638ZNx/dV5mliFwhmLeUkqfKzB/SWVue9YlB79/Vyk4hwz4Nz9PaD/+PmaMoJ/dXMV55QKBgQC5jeNIqKHLIieINNCfRXCO5uZ/WDF4vFefqcADsG1/mJmRIRGG8aenjgugv+qsfNnck+8BBBjpb4WUeTWszUB/I9VT0q3V08v3dZnDf2fg5gqzEfsccfMH+zbKCi2aOV5uH7bJ2xLFl/HzhfWt2vd9FsywfaqOma58+w08Y/Zg6QKBgQCPN8B6Fi6JbXVpUqNiwztlVh2aUYWijF4WkZUSNHs5dJwcP72avIA9Nkl2vNncU85nfJTLVoNE84PjQma3p72pRUddzEE2hxqw22BrAYhAQm36zRbh/XzjiMXWgmqS4n9mRzbsDYZPVMkRjPUDhBLghQzbjBXhdWIXG+Ls5chhcQKBgHMgmSymw2ohRYOSR8J/O/ySJkzymUVRzW9HO55GO9Vf8rk3VUcaTOA9CPmK1awnJVy/O1Jevz2RsEb6u3rk0YzLL5C7iPG2cFv8Rs/Kod8ZoASa+Kk9dKbOIMX2MH18xAVR9JU2ukeciddV+NX7btzGX+u7MyCFaRvYDfwondu3";

    /**
     * 支付宝公钥,
     */
    private String publicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApHUl1NhtZsakOsV37qjKuytWMvH7GSJuDz" +
            "+xMkTiWl2a7jy++kKN4mBnjXwH/gLQdnissGs2LPjc86OPZkJsux9fLsOwfB0U6q54wOuBIByIjiicxWk5LoFyy8gK7" +
            "/Yk6hf3V5zwIbAdqBOtOaO8YRtzvzYqvljjJJJkDYrXNdESiSCtev874syxwhhSR4E95cBkAltTkDd54Tsn3auTGWJt9pIM99lIVAWLvKjTRuuzVgJYn0RyOm2wHcZsfXC90GMykD77ER5XmlTV+0hRbPihNqrcdZaSDIi++ekauWIKDLeWJkPfECDbhQGBtma/S7z+qxyQqTwRecFXixIy+QIDAQAB";

    /**
     * 服务器异步通知页面路径需http://格式的完整路径，不能加?id=123这类自定义参数
     */
    private String notifyUrl = "http://localhost:8088/pay/notifyUrl";

    /**
     * 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数
     */
    private String returnUrl = "http://localhost:8088/pay/returnUrl";

    /**
     * 签名方式
     */
    private String signType = "RSA2";

    /**
     * 字符编码格式
     */
    private String charset = "utf-8";

    /**
     * 支付宝网关
     */
    private String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    /**
     * 数据格式
     */
    private String format = "json";


    /**
     * 支付宝网关
     */
    private String logPath = "C:\\";
}